/*  头部*/
.tops{
    background-color: #333;
    padding: 1.5em 0 0.5em;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    font-size: 1.3em;

    .op{
        width: 80%;
        color: white;
        margin: 0 auto;
        text-align: center;

        .ok{
            font-size: 2em;
            font-weight: 800;
            
        }
    }

    @media screen and (max-width:1040px){
        font-size: 1.2em;
    }
    @media screen and (max-width:950px){
        font-size: 1.1em;
    }
    @media screen and (max-width:880px){
        font-size: 1em;
    }
    @media screen and (max-width:800px){
        font-size: 0.8em;
    }
    @media screen and (max-width:700px){
        font-size: 0.7em;
    }
    @media screen and (max-width:600px){
        font-size: 0.6em;
    }
    @media screen and (max-width:500px){
        font-size: 0.5em;
    }
    @media screen and (max-width:400px){
        font-size: 0.4em;
    }
    
}

/*  中间*/
.two{
    width: 100%;
    height: 100%;
    padding: 3em;
    background: url(../images/bjtp1.gif) no-repeat center center;
    background-size: cover;

    .tutu{
        width: 100%;
        height: 100%;

        .section{
            width: 100%;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            

            .col_1_of_4{
                width: 20%;
                position: relative;
                overflow: hidden;
                border: 2px solid white;
                &:hover .xiaoguo{
                    top: 0;
                }

                .bjt{
                    width: 100%;
                    height: 100%;

                    img{
                        width: 100%;
                        height: 100%;
                    }
                }

                .xiaoguo{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    background-color: rgba(0, 0, 0, 0.521);
                    color: white;
                    font-size: 1.6em;
                    font-weight: 600;
                    top: 100%;
                    transition: all 0.3s;
                    text-align: center;
                    padding-top: 20%;

                    .jin{
                        width: 100%;
                        padding-top: 10%;
                        display: flex;
                        justify-content: space-evenly;

                        .gang{
                            width: 2em;
                            height: 2em;
                            background-color: #FE2232;
                            border-radius: 50%;
                            position: relative;
                            cursor: pointer;


                            img{
                                width: 90%;
                                position: absolute;
                                top: 50%;
                                transform: translate(-50%, -50%);
                            }
                        }
                        .jing{
                            width: 2em;
                            height: 2em;
                            background-color: #FE2232;
                            border-radius: 50%;
                            position: relative;
                            cursor: pointer;

                            img{
                                width: 90%;
                                position: absolute;
                                top: 50%;
                                transform: translate(-50%, -50%);
                            }
                        }
                    }


                }
            }
        }

        .cont{
            width: 100%;
            height: 100%;
            padding: 2em;

            .ones{
                font-size: 2em;
                font-weight: 900;
                // font-family: '宋体';
                color: white;
                text-shadow: 0px 2px 3px white;

                
            }

            .news{
                width: 100%;
                height: 100%;
                padding: 1em 1em;
                background-color: #cccccc4b;
                border-radius: 20px;
                color: white;
                margin: 10px 0px;
                transition: all 0.4s;
                display: flex;
                justify-content: space-between;

                &:hover{
                    box-shadow: 0px 0px 10px 5px #cccccc;
                }

                .grid_3{
                    width: 15%;
                    height: 100%;
                    border-radius: 10px;
                    overflow: hidden;
                    transition: all 0.2s;
                    cursor: pointer;
                    margin-right: 3%;
                    &:hover{
                        box-shadow: 0px 0px 5px 3px #1b1616;
                    }

                    img{
                        width: 100%;


                    }
                }

                .grid_4{
                    width: 85%;

                    .m_7{
                        margin-bottom: 0.5em;
                        a{
                            color: black;
                            font-size: 1.2em;
                            text-shadow: 0px 2px 3px black;
                            display: -webkit-box;
                            -webkit-line-clamp: 1;
                            -webkit-box-orient: vertical;
                            overflow: hidden;


                            &:hover{
                                color: blue;
                            }
                        }


                        
                    }

                    .latest_post{

                        .lo{
                            display: inline-block;
                            border-radius: 5px;
                            background-color: #cccccc;
                            padding: 0px 0.5em;
                            color: black;
                            margin-bottom: 3px;

                            img{
                                margin-right: 0.5em;
                            }
                        }
                        .m_6{
                            margin-top: 1em;
                            display: -webkit-box;
                            -webkit-line-clamp: 5;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }
                    }
                }
                
                
            }
        }
    }



    @media screen and (max-width:1200px){
        & .tutu{
            .cont{
                font-size: 13px;
            }
        }
    }
    @media screen and (max-width:1040px){
        font-size: 13px;
        & .tutu{
            .cont{
                font-size: 12px;
            }
        }
    }
    @media screen and (max-width:940px){
        font-size: 12px;
        & .tutu{
            .cont{
                font-size: 10px;
            }
        }
    }
    @media screen and (max-width:860px){
        & .tutu{
            .cont{
                font-size: 10px;
                display: flex;
                justify-content: space-around;
                flex-wrap: wrap;

                .ones{
                    width: 100%;
                }
                .news{
                    width: 40%;

                    .grid_3{
                        width: 30%;
                    }

                    .grid_4{

                        width: 70%;
                        .m_7{

                            a{
                                font-size: 16px;
                            }
                        }
                    }
                    
                }
            }
        }
    }
    @media screen and (max-width:840px){
        & .tutu{
            .section{
                font-size: 10px;
            }
            .cont{
                font-size: 10px;
            }
        }
    }
    @media screen and (max-width:740px){
        & .tutu{
            .section{
                font-size: 8px;
                width: 90%;
            }
        }
    }
    @media screen and (max-width:640px){
        & .tutu{
            .section{
                font-size: 8px;
                width: 80%;
                flex-wrap: wrap;
                justify-content: space-around;

                .col_1_of_4{
                    width: 34%;
                    margin-bottom: 10px;
                }
            }

            .cont{

                .news{

                    .grid_4{

                        .latest_post{

                            .m_6{
                                -webkit-line-clamp: 3;
                            }
                        }
                    }
                }
            }
        }
    }
    @media screen and (max-width:640px){
        & .tutu{
            .cont{

                .news{
                    width: 48%;
                    .grid_4{

                        .latest_post{

                            .m_6{
                                -webkit-line-clamp: 3;
                            }
                        }
                    }
                }
            }
        }
    }
    @media screen and (max-width:440px){
        & .tutu{
            .section{
                font-size: 8px;


                .col_1_of_4{
                    width: 42%;
                    margin-bottom: 10px;

                    .xiaoguo{
                        .jin{
                            .gang{
                                width: 1.5em;
                                height: 1.5em;
                            }
                            .jing{
                                width: 1.5em;
                                height: 1.5em;
                            }
                        }
                    }
                }
            }

            .cont{

                .news{
                    width: 90%;
                    .grid_4{

                        .latest_post{

                            .m_6{
                                margin-top: 0.5em;
                                -webkit-line-clamp: 4;
                            }
                        }
                    }
                }
            }
        }
    }
}

/*  底部*/
.footer{
    background-color: #222222;
    padding: 3em 0;

    .box{
        display: flex;
        justify-content: space-between;
        align-content: center;
        align-items: center;

        .copyright{
            font-family: OSLight;
            font-size: 1.2em;
            color: #b2b2b2;
            text-transform: uppercase;
            font-weight: bold;

            span{
                font-family: OSBold;
            }
        }

        .list{
            display: flex;
            justify-content: space-around;
            width: 25%;

            a{
                border: 2px solid #cccccc;
                border-radius: 50%;
                transition: all linear 0.3s;
                padding: 0.3em;
                margin: 0px 0.3em;
                background-color: #ececec;

                img{
                    width: 100%;
                }

                &:hover{
                    box-shadow: 0px 0px 10px #b2b2b2;
                }
            }
        }
    }

    @media screen and (max-width:1000px) {
        & .box {
            flex-wrap: wrap;
            
            .copyright{
                width: 100%;
                text-align: center;
                margin-bottom: 2em;
            }

            .list{
                width: 40%;
                margin: 0 auto;
            }
        }
        
    }

    @media screen and (max-width:684px){
        & .box{


            .list{
                width: 54%;
            }
        }
    }

    @media screen and (max-width:500px){
        & .box{
            .copyright{
                font-size: 1em;
            }

            .list{
                width: 72%;
            }
        }
    }

    @media screen and (max-width:380px){
        & .box .copyright{
                font-size: 0.8em;
            }
    }

}
